import QtQuick 1.0
import com.nokia.symbian 1.1

ListItem {
    id: root

    property alias name: title.text
    property alias checked: checkBox.checked

    signal checkBoxClicked()

    subItemIndicator: true

    Row{
        id: row
        anchors.fill: root.paddingItem
        spacing: 8

        CheckBox {
            id: checkBox
            anchors.verticalCenter: parent.verticalCenter
            onClicked: root.checkBoxClicked();
        }

        ListItemText {
            id : title
            mode: root.mode
            anchors.verticalCenter: parent.verticalCenter
        }
    }
}
